package com.winter.mapper;

import com.winter.model.IAnn;
import com.winter.model.vo.response.IAnnChildResponseVo;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IAnnMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IAnn record);

    int insertSelective(IAnn record);

    IAnn selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IAnn record);

    int updateByPrimaryKeyWithBLOBs(IAnn record);

    int updateByPrimaryKey(IAnn record);

    List<IAnnChildResponseVo> highForumList(@Param("keyword") String keyword,@Param("type") String type,@Param("key")String key);
}